﻿@model  HomeControllerModel.Detail
<div class="tabs">
    <div class="tabsHeader">
        <div class="tabsHeaderContent">
            <ul>
                <li><a href="javascript:void(0);"><span>商品信息</span></a></li>
                @if (Model.Shippings!=null&& Model.Order.ShippingType != ShippingType.Virtual)
                {
                    <li><a href="javascript:void(0);"><span>物流信息</span></a></li>
                }
            </ul>
        </div>
    </div>
    <div class="tabsContent">
        <div>
            <div style="border: 1px solid #B8D0D6;">
                <table class="table" width="98%" layouth="138">
                    <thead>
                        <tr>
                            <th width="200">
                                名 称
                            </th>
                            <th>
                                属 性
                            </th>
                            <th width="80">
                                数 量
                            </th>
                            <th width="80">
                                单 价
                            </th>
                            <th width="80">
                                折 扣
                            </th>
                            <th width="100">
                                调整金额
                            </th>
                            <th width="80">
                                小 计
                            </th>
                        </tr>
                    </thead>
                    <tbody>
                        @foreach (var o in Model.Order.OrderItems)
                        {
                            <tr>
                                <td>@(o.Title)
                                </td>
                                <td>@(o.Properties)
                                </td>
                                <td>@(o.Quantity)
                                </td>
                                <td>@(o.Price.ToString("N"))
                                </td>
                                <td>@(o.Discount.ToString("N"))
                                </td>
                                <td>@(o.Adjust.ToString("N"))
                                </td>
                                <td>@(o.Total.ToString("N"))
                                </td>
                            </tr>
                        }
                    </tbody>
                </table>
            </div>
        </div>
        @if (Model.Shippings != null && Model.Order.ShippingType != ShippingType.Virtual)
        {
            <div>
                <div style="padding: 5px; border: 1px solid #B8D0D6; background-color: #fff;">
                    <div>
                        <p>
                            asdf</p>
                    </div>
                </div>
            </div>
        }
    </div>
    <div class="tabsFooter">
        <div class="tabsFooterContent">
        </div>
    </div>
</div>
